<?php


namespace App\Admin\Forms\Step;


use Encore\Admin\Widgets\StepForm;
use Illuminate\Support\Facades\Request;

class Sec extends StepForm
{
    /**
     * The form title.
     *
     * @var string
     */
    public $title = '注册';

    /**
     * Handle the form request.
     *
     * @param Request $request
     *
     * @return \Illuminate\Http\RedirectResponse
     */
    public function handle(\Illuminate\Http\Request $request)
    {
         admin_success('编辑成功');
         return back();
    }

    /**
     * Build a form here.
     */
    public function form()
    {
        $this->text('username',__('用户名'));
        $this->email('email',__('邮箱'));

    }
}
